class playerInfo{
    constructor(uid) {
        this.uid = uid; //用户id
        this.avator = null; //用户头像
        this.score = 0; //用户得分

        this.session = null;// 用户的客户端对象
    }

    initInfo(_uid,_avator,_score){
        this.uid = _uid;
        this.avator = _avator;
        this.score = _score;
    }
}

module.exports = playerInfo;